package com.csc.junit.bo;

import com.csc.junit.data.Employee;

public class EmployeeBO {
	public String getIncomeMessage (Employee emp) {
		String msg = "Low Income";
		String title = emp.getTitle();
		double salary = emp.getSalary();
		
		if ((title.equals("SE") && (salary > 500.0)) ||
			(title.equals("TA") && (salary > 1000.0)) ||  
			salary > 2000) {
			msg = "High Income";
		} 
		
		return msg;
	}
	
}
